package com.aop.demo.service.impl;

import com.aop.demo.bean.User;
import com.aop.demo.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author H
 * @date 2023/1/1
 */
@Service
public class UserServiceImpl implements UserService {

    @Override
    public String print(User user) {
        System.out.println("======testAop方法执行======");
        return "yes";
    }

    @Override
    public String testAop1() {
        System.out.println("======testAop1方法执行======");
        return "yes";
    }

}
